Conversation
在群里输入 /查询背包 玩家名字 即可查询对应玩家背包内容 适用于服主懒得上线就能查询到玩家背包里东西有什么,也可以通过此方式间接判断玩家有没有通过游戏漏洞非法获得大量物品 支持名字自动匹配 支持本地化翻译(翻译失败则回退原文) 支持输出物品附魔属性等
|
Here's the code health analysis summary for commits Analysis Summary
|
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
Use sub-sub function here is bad, and also what s is?
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
Use sub function here is bad, should change.
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
Sub-sub function here is bad, should change.
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
This translate is not reliable, you better gen a map that can find chinese name by item command id.
群服互通云链版/__init__.py
Outdated
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
well, you better use if len(lines) == 0 instead of if not lines.
so that's why i dislike python, how can a list do a job that only bools can do?
also, replace 空 to 该玩家背包中没有物品
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
| lines.append(f"- [{idx}] {name} x {cnt} (数据:{aux}; 附魔:{ench_text})") | |
| lines.append(f"\t- [{idx}] {name} x {cnt} (数据: {aux}; 附魔: {ench_text})") |
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
| self.sendmsg(self.linked_group, f"玩家名字:{target.name}\n背包物品:\n{text}") | |
| self.sendmsg(self.linked_group, f"玩家 {target.name} 的背包信息如下: \n{text}") |
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
Why do you remove do_remove_cq_code=True?
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
| "获取对方背包内物品,并输出在群里", | |
| "获取对方背包内物品, 并输出在群里", |
群服互通云链版/__init__.py
Outdated
There was a problem hiding this comment.
| if not matches: | |
| if len(matches) == 0: |
新增插件 无邪玩家互传
与机器人审查斗智斗勇中
- 新增图片输出玩家背包功能 - 优化原来的实现 - 新增内部物品ID映射表 - 内置部分物品材质贴图用于渲染显示
|
I will work on this issue after I finish my own things. |
在群里输入 /查询背包 玩家名字 即可查询对应玩家背包内容
适用于服主懒得上线就能查询到玩家背包里东西有什么,也可以通过此方式间接判断玩家有没有通过游戏漏洞非法获得大量物品 支持名字自动匹配
支持本地化翻译(翻译失败则回退原文)
支持输出物品附魔属性等